package com.jack.payment.entity.generate.billing;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "账单基础数据模型")
public class BillingModel implements Serializable {
    @Schema(description = "系统订单号")
    private String orderNo;
    @Schema(description = "渠道订单号")
    private String channelNo;
    @Schema(description = "调用的用户")
    private String user;
    @Schema(description = "渠道")
    private String channel;
    @Schema(description = "支付金额")
    private BigDecimal paymentAmount;
    @Schema(description = "退款订单号")
    private BigDecimal refundAmount;
    @Schema(description = "流水状态")
    private Integer status;
    @Schema(description = "现在时间")
    private Long createTime;
    @Schema(description = "更改时间")
    private Long updateTime;
    @Schema(description = "币种")
    private Integer currency;
    @Schema(description = "当前支付环境")
    private String paymentEnv;

    @Schema(description = "最后变动数据时间")
    private Long endTime;
}
